package my.merborn.ordersysteam105.models.dao.jpa;

import my.merborn.ordersysteam105.models.pojo.OrderT;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderMapperJPA extends JpaRepository<OrderT,Integer> {
    Page<OrderT> findOrderTSByIsfinishedAndIspayed(Integer isFinished, Integer isPayed, Pageable pageable);

    Page<OrderT> findAll(Pageable pageable);
}
